package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

/**
 * @Description NursingPlanService
 * @Author LPK
 * @Date 2024-10-18
 */
public interface NursingPlanService {

    /**
     修改护理计划
     */
    void updateNursingPlan(Long id,NursingPlanDto nursingPlanDto);

    /**
     删除护理计划
     */
    void deleteNursingPlan(Integer id);

    /**
     启用或禁用
     */
    boolean enableOrDisable(Integer id, Integer status);

    /**
     * 查询所有护理计划
     * @return
     */
    List<NursingPlanVo> getAll();

    /**
     * 新增护理计划
     * @param nursingPlanDto
     * @return
     */
    void add(NursingPlanDto nursingPlanDto);

    /**
     * 护理计划分页查询
     * @param name
     * @param pageNum
     * @param pageSize
     * @param status
     * @return
     */
    PageResponse<NursingPlanVo> nursingPlanPaginationQuery(String name, Integer pageNum, Integer pageSize, Integer status);

    /**
     * 根据id查询护理计划
     * @return
     */
    NursingPlanVo searchNursingPlanById(Integer id);

}
